package 作业;

import java.math.BigInteger;
import java.util.Scanner;

public class 大质数乘积 {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		BigInteger a = new BigInteger(s.nextLine());
		BigInteger b = new BigInteger(s.nextLine());
		System.out.println(a.divide(b));
		s.close();
		
	}

}
